package com.shop.cloud.model.response.api;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * @author xiaojun.wang
 */
@ToString(callSuper = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(value = {"hibernateLazyInitializer", "handler", "fieldHandler"}, ignoreUnknown = true)
public class ApiGetHomeInfoResponseModelNoticeList {
	
	public final static int TYPE_URL = 0;
	public final static int TYPE_NEWS = 1;
	public final static int TYPE_GOODS = 2;
	public final static int TYPE_ACTIVITY = 3;
	public final static int TYPE_NONE = 4;
	
	@JsonProperty("title")
    @ApiModelProperty(value = "标题", example = "标题", required = true)
    private String title;
    
    @JsonProperty("type")
    @ApiModelProperty(value = "类型.0：URL跳转，1:新闻资讯，2：商品详情，3：活动详情，4：无跳转", example = "", required = true)
    private String type;
    
    @JsonProperty("link")
    @ApiModelProperty(value = "链接", example = "http://", required = true)
    private String link;

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getLink() {
		return link;
	}

	public void setLink(String link) {
		this.link = link;
	}
 
}
